//
//  Item.h
//  Menu
//
//  Created by trimad on 11-11-11.
//  Copyright 2011 Trimad Group. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Item : NSObject {
	long uid;
	NSString *code;
	int itemType;
	NSString *name;
	double price;
	NSString *largeImageName;
	NSString *midImageName;
	NSString *smallImageName;
	NSArray *cookMethods;
	NSString *unit;
	Boolean isRecommended;
	
	NSArray *adVideoUrlArray;
	NSArray *adImageArray;
	NSArray *adTextArray;
}

@property long uid;
@property (nonatomic, retain) NSString *code;
@property int itemType;
@property (nonatomic, retain) NSString *name;
@property double price;
@property (nonatomic, retain) NSString *largeImageName;
@property (nonatomic, retain) NSString *midImageName;
@property (nonatomic, retain) NSString *smallImageName;
@property (nonatomic, retain) NSArray *cookMethods;
@property (nonatomic, retain) NSString *unit;
@property Boolean isRecommended;


@property (nonatomic, retain) NSArray *adVideoUrlArray;
@property (nonatomic, retain) NSArray *adImageArray;
@property (nonatomic, retain) NSArray *adTextArray;

@end

typedef enum {
	BuyableItem = 0,
	AdItem = 1
} ItemType;
